home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
tools
/
czesc_1
/
cachecard
/
readme
< prev
next >
Wrap
Text File
|
1989-07-29
|
3KB
|
73 lines
CacheCard V1.00
Copyright 1989 by Dave Haynie
CacheCard may be distributed in any physical or electronic form on a not for
profit basis (including pay BBS systems that charge for connect time but not
for the actual software downloads, and disk collections such as the Fred
Fish Freely Redistributable Amiga Disk Library). Any commercial concerns
may negotiate the distribution of CacheCard and SetCPU with the author.
WHAT IT IS?
CacheCard is an accessory program to be used with the MMU setup
created by SetCPU V1.5. It's used to control caching by the 68020 or
68030 of a particular expansion card. In most cases, there's no trouble
with instruction caching, but the 68030's data cache can get you into
trouble with shared memory devices like Bridge Cards or possibly some
I/O devices. While most 68030 implementations have some hardware level
control to avoid caching of chip RAM, motherboard I/O, and even the
expansion bus I/O space, it's impossible for such hardware to cover every
possibility. Using CacheCard, the cache can be selectively disabled for
any card in software.
HOW DO I USE IT
There are two forms of the command. Simply typing "CacheCard" at
a shell prompt will display each of the expansion cards in the system by
(manufacturer,product) code. My system looks like this:
3> CacheCard
CacheCard V1.00 Copyright 1989 by Dave Haynie
DEVICE ADDRESS LENGTH CACHE
( 202, 51) 200000 400000 ENABLED
( 202, 3) e90000 10000 ENABLED
( 202, 45) ea0000 10000 ENABLED
( 202, a) 600000 200000 ENABLED
( 201, 1) 800000 80000 DISABLED
Here I have previously run CacheCard to disable the cache for the device
(201,1), which is the Commodore A2286 Bridge Card. In order to change
the cachability, you'd invoke CacheCard as:
3> CacheCard ENABLE 201 1
which would turn the cache back on for the Bridge Card, or:
3> CacheCard DISABLE 201 1
which will shut it back down again. Note that the actual caches may not
really be on; that's a function of SetCPU. If a cache is listed as being
DISABLED for a card, you can be certain that it's disabled, regardless of
the cache setting. Note also that even if a card is listed as enabled, it
could still be disabled by hardware, as in the case of the e90000 and
ea0000 cards above in conjunction with the Amiga A2630. All numbers are
in hexidecimal.
-Dave Haynie
7/7/89
Bix: Hazy PLINK: D-Dave H
New Land Address:
284 Memorial Avenue
Gibbstown, NJ 08027